<?php

namespace app\index\job;

use app\index\job\Queue;
use think\facade\Log;

class Task extends Queue
{
    /**
     * 执行业务逻辑
     */
    protected function execute($data): bool
    {
        Log::record(sprintf(' ==> [%s][%s] 执行成功', __CLASS__, __FUNCTION__));
        return true;
    }
}
